﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;
using System.Data;
using System.Data.SqlClient;
namespace UI
{
    public partial class abount : System.Web.UI.Page
    {
        List<Goods> jihe = new List<Goods>();

        
        //加载事件
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = BLL.ChaBLL.sp();

            foreach (DataRow i in dt.Rows)
            {

                string a1 = "<li class='goods-iten' runat='server'>";
                string a2 = "<div class='pic' runat='server'>";
                string a3 = " <a href='http://www.lpmy8.cn/?/goods/17358' target='_blank' title='Huawei/华为 nova 3i手机官方旗舰店双4G全网通手机mate20Pro降价P20畅想9plus'>";
                string a4 = "<i class='goods_tj'></i>";
                string a5 = "<img alt='Huawei/华为 nova 3i手机官方旗舰店双4G全网通手机mate20Pro降价P20畅想9plus' src='shop/t1.jpg'>";
                string a6 = "</a>";
                string a7 = "<p name='buyCount' style='display:none;'></p>";
                string a8 = "</div>";
                string a9 = "<p class='name'>";
                string a10 = "<a href='#' target='_blank' title='Huawei/华为 nova 3i手机官方旗舰店双4G全网通手机mate20Pro降价P20畅想9plus'>";
                string a11 = "Huawei/华为 nova 3i手机官方旗舰店双4G全网通手机mate20Pro降价P20畅想9plus";
                string a12 = "</p>";
                string a13 = "<p class='money'>价值：<span class='rmbgray'>1299.00</span></p>";
                string a14 = "<div class='Progress-bar'>";
                string a15 = "<p title='已完成98.85%'><span style='width:210.54230769231px;'></span></p>";
                string a16 = "	<ul class='Pro-bar-li'>";
                string a17 = "<li class='P-bar01'><em>1028</em>已参与人次</li>";
                string a18 = "<li class='P-bar02'><em>1040</em>总需人次</li>";
                string a19 = "<li class='P-bar03'><em>12</em>剩余人次</li>";
                string a20 = "</ul>";
                string a21 = "</div>";
                string a22 = "<div class='gl_buybtn' runat='server'>";
                string a23 = "<div class='go_buy' runat='server'>";
                string a24 = " <asp:Button ID='Button2' runat='server' Text='立即云购' /> ";
                string a25 = "<input id='Button1' type='button' value='加入购物车' />";
                //string a25 = " <asp:Button ID='Button1' runat='server' Text='加入购物车' />";
                string a26 = "</div>";
                string a27 = "</div>";
                string a28 = "<div class='Curbor_id' style='display:none;'>17358</div>";
                string a29 = "<div class='Curbor_yunjiage' style='display:none;'>1.00</div>";
                string a30 = "<div class='Curbor_shenyu' style='display:none;'>12</div>";
                string a31 = "</li>";
                ulGoodsList.InnerHtml = a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10 + a11 + a12 + a13 + a14 + a15 + a16 + a17 + a18 + a19 + a20 + a21 + a22 + a23 + a24 + a25 + a26 + a27 + a28 + a29 + a30 + a31;
            }

        }
    }




}
